package com.yzf.wisecoder.wisecoderstorage.mysql.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author jianghuiyong
 * @email jianghuiyong@yunzhangfang.com
 * @date 2020-05-15 18:12:27
 */
@Data
@TableName("wise_view_datasource_publish")
@Accessors(chain = true)
public class ViewDatasourcePublishEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 数据来源ID
	 */
	@TableId
	private Long sourceId;
	/**
	 * 数据源ID
	 */
	private Long dbId;
	/**
	 * 项目ID
	 */
	private Long projectId;
	/**
	 * 组件ID
	 */
	private String moduleId;
	/**
	 * 大屏展示ID
	 */
	private Long viewId;
	/**
	 * 数据源类型
	 */
	private String sourceType;
	/**
	 * 数据源内容
	 */
	private String executeText;
	/**
	 * 创建人
	 */
	private Long creator;
	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;

}
